package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 邀请记录表表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="InviteRecords对象", description="邀请记录表表")
public class InviteRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "间接邀请人")
    private Integer indirectInviterId;

    @ApiModelProperty(value = "邀请人")
    private Integer directInviterId;

    @ApiModelProperty(value = "被邀请人")
    private Integer userId;

    @ApiModelProperty(value = "基本邀请奖励")
    private String baseReward;

    @ApiModelProperty(value = "额外奖励")
    private String addedReward;

    @ApiModelProperty(value = "邀请的第几个人")
    private Integer inviteIndex;

    @ApiModelProperty(value = "中间间隔人数 0为直接邀请 1为间接隔1人")
    private Integer inviteLevel;

    @ApiModelProperty(value = "邀请时间")
    private Date inviteAt;

    @ApiModelProperty(value = "待发放奖励  1为已发放奖励")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "邀请节点类型")
    private String inviteNodeType;

    @ApiModelProperty(value = "邀请节点类型uuid")
    private String inviteNodeUuid;

    @ApiModelProperty(value = "邀请节点类型id")
    private Integer inviteNodeId;

    @ApiModelProperty(value = "邀请节点类型标题")
    private String inviteNodeTitle;

    @ApiModelProperty(value = "在该活动中所属邀请序号")
    private Integer nodeInviteIndex;

    @ApiModelProperty(value = "节点奖励")
    private String nodeReward;


}
